package com.zz.tijian.handle.aliMessage;

import java.util.Random;

public class CodeGenerationUtil {
    public static String generateCode() {
        StringBuilder code = new StringBuilder();
        Random random=new Random();
        for (int i = 0; i < 6; i++) {
            int rand=random.nextInt(10);
            code.append(rand);
        }
        return code.toString();
    }
}
